//Contains text representations of error codes specified in errno.h

#ifndef ERROR_MESSAGES_H
#define ERROR_MESSAGES_H

#include "dataTypes.h"



#define ERR_UNKNOWN_MESSAGE "Unknown error"

static s8int* messages[NUMBER_OF_ERROR_CODES] = 
{
	"No error",										//0
	"Operation not permitted",						//1
	"No such file or directory",					//2
	"No such process",								//3
	"Interrupted system call",						//4
	"I/O error",									//5
	"No such device or address",					//6
	"Argument list too long",						//7
	"Executable format error",						//8
	"Bad file number",								//9
	"No child processes",							//10
	"Resource currently unavailable.Try  again",	//11
	"Out of memory",								//12
	"Permission denied",							//13
	"Bad address",									//14
	"Block device required",						//15
	"Device or resource busy",						//16
	"File exists",									//17
	"Cross-device link",							//18
	"Wrong device",									//19
	"Not a directory",								//20
	"Is a directory",								//21
	"Invalid argument",								//22
	"File table overflow",							//23
	"Too many open files",							//24
	"Not a typewriter or inappropriate IO operation",//25
	"Text file busy",								//26
	"File too large",								//27
	"No space left on device",						//28
	"Illegal seek",									//29
	"Read-only file system",						//30
	"Too many links",								//31
	"Broken pipe",									//32
	"Math argument out of domain of function",		//33
	"Math result not representable",				//34
	"Already mounted",								//35
	"Partition not found",							//36
	"Too many partitions mounted",					//37
	"Memory at specified address was not allocated",//38
	"Heap damaged",									//39
	"Is empty",										//40
	"Out of bounds",								//41
	"Element not found",							//42
	"Heap index overflow"							//43
};

#endif